package com.hmsm.sys.daoImpl;

import java.util.List;

import com.hmsm.server.base.BaseDao;
import com.hmsm.sys.dao.RoleInfoDao;
import com.hmsm.sys.po.RoleInfo;

public class RoleInfoDaoImpl extends BaseDao<RoleInfo, Integer> implements RoleInfoDao {
	/**
	 * 获取指定权限
	 * 
	 * @param hql
	 * @return
	 * @author 何杰 2013-2-21
	 */
	public List<RoleInfo> queryAll(String hql) {
		List<RoleInfo> rolesList = queryByHql(hql);
		return rolesList;
	}
}
